#include "timethread.h"
#include<QString>
#include<QDebug>
#include<QTime>

TimeThread::TimeThread()
{

}

void TimeThread::run()
{
    while(1)
    {
        QString time=QTime::currentTime().toString();
        qDebug()<<time;
        emit sendTime(time);
    }
}
